package ru.jexp.rcp.supply.swtext;

import org.eclipse.swt.widgets.Composite;

import ru.jexp.dostup.client.polzovatel.Polzovatel;
import ru.jexp.obekt.IVladelecRolei;
import ru.jexp.rcp.supply.ResultWrapper;

public class ResponsibleCombo extends JExpCombo<IVladelecRolei>
{
	public ResponsibleCombo(Composite parent)
	{
		super(parent, 150, IVladelecRolei.class);
		initValue();
	}

	private void initValue()
	{
		setValues(ResultWrapper.searchList(Polzovatel.class).toArray(new IVladelecRolei[0]));
	}
}
